

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link media="all" href="../css/base.css" type="text/css" rel="stylesheet">
<link media="all" href="../css/index.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/addressSelect.js"></script>
<script type="text/javascript" src="../js/select.ui.js"></script>

<title>超级派单员-何乐而不为</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta content="" name="Keywords">
<meta content="" name="Description">
<!-- Mobile Devices Support @begin -->
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8">
<meta http-equiv="Cache-Control" content="no-cache,must-revalidate">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta name="format-detection" content="telephone=no, address=no">
<meta content="yes" name="apple-mobile-web-app-capable"> <!-- apple devices fullscreen -->
<meta content="black-translucent" name="apple-mobile-web-app-status-bar-style">
<!-- Mobile Devices Support @end -->
<link href="favourite.ico" rel="shortcut icon">
</head>
<body >
	<header class='index'>
	       <a class='address'>
      	    <span class='title'>信息设置</span>
           </a>
		   <div class="logo"></div>
    </header>
    <div class='upload_wrap'>
    	头像/首页显示图片
		<div class='upload'>+<div class="img_show" ></div><input id="img" type="file" accept="image/*" /></div>
    </div>

	<div class="wrap_7">
	   <h1 class='name_noborder'>名称</h1>
	   <input class='input02' type='text' />	
	   <h1 class='name_noborder'>电话</h1>
	   <input class='input02' type='text' />	
	   <h1 class='name_noborder'>地址</h1>
				 <select name="province"  class="select1"  id="province"><option value="">选择省</option></select>
				 <select name="province"  class="select1"  id="city"><option value="">选择市</option></select>
				 <select name="district"  class="select1"  id="district"><option value="">选择区</option></select>
				 <input  id="detail_address" name="" type="text" class="input02" autocomplete="off" placeholder="具体地址"/>
	   
	   <h1 class='name_noborder'>营业时间</h1>
	   <input class='input02' type='text' />	    
	</div>	
	<div class="wrap_7">
	    <a href="" class="btn_red">确认</a>
	</div>
	
<script type="text/javascript">
   $(function(){
       var residenceAddress = new addressSelector(document.getElementById("province"),document.getElementById("city"),document.getElementById("district"));  //省市区三级联动
      	function selectInt(){
      		$(".select1").uedSelect({
      			width : parseInt($(window).width())-16			  
      		});		
   		    $(".ue-state-default").width(parseInt($(window).width())-16)
	      	$(window).resize(function(){
	      		$(".ue-state-default").width(parseInt($(window).width())-16)
	      		$(".select1").width(parseInt($(window).width())-16)	
	      	})
      	}
      	selectInt()

	
      	
		   
	   $('#img').change(function(){
	   var file = this.files[0]; //选择上传的文件
	   var r = new FileReader();
	   r.readAsDataURL(file); //Base64
	   $(r).load(function(){
	   $('.img_show').html('<img src="'+ this.result +'" alt="" />');
	   });
	   });
   });
</script>	
</body>
</html>